import Dep from './dep'

export class Observer {
    /**
     * @type {any}
     */
    value

    /**
     * @type {Array.<any>} 依赖收集
     */
    dep

    /**
     * @type {number}
     */
    vmCount

    constructor(value) {
        this.value = value
        this.dep = new Dep()
        this.vmCount = 0
    }
}